package com.springcloud.authentication.modules.repository;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.springcloud.authentication.modules.entity.SysUser;


/**
 * JPQL、HQL、原生sql 都是支持的
 * @author Administrator
 *
 */
public interface UserRepository  extends JpaRepository<SysUser, Integer>{

	SysUser findById(String id);

	SysUser findByNameAndPwd(String name,String pwd);
	
	
	
}